#pragma once
#include <gpl.h>
#include "menu.h"
#include "ajuda.h"
#include "Botao.h"
#include "opcoes.h"
#include "torre.h"
#include "loja.h"

class interfaces
{
	vector<sprite> *spr_bot;
	vector<Botao*> *botoes;
	vector<string> *t_botoes;
	vector<janela*>*janelas;
	
	vector<janela*>*janelas_menu;

	vector<text*>*fontes;
	sprite *pedaco_janela;
	sprite *pedaco_painel;

	vector<string> *stringMestre;

	int h;
	int w;
	int x;
	int y;
	bool pressionado;

	void carregarSprites(sprite &spr, int n_imagens, int n_linhas, int n_colunas, int width, int height, string arquivo);
	void desenhar();
public:
	interfaces(int _x, int _y, int _w, int _h, long double *dinheiro, vector<torre*> *_tower, mapa *_Mapa, vector<vector<sprite*>> _sprTorre, vector<sound> _snd, bool *_pause, int *volM, int *volE, vector<string> *stringMestre);
	~interfaces(void);

	void atualizar();
};

